<%@page import="com.wanmait.travel.vo.Userinfo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%String path=request.getServletContext().getContextPath(); %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>去哪浪</title>

</head>
<body>
<nav>
  <div class="container">
    <h1>去哪浪</h1>
    <div id="menu">
      <tr class="toplinks">
        <td><a href="/Travel">首页 </a></td>
        <td><a href="<%=path %>/sdasdsa.jsp">酒店</a></td>
        <td><a href="<%=path %>/sdasdsa.jsp">美食</a></td>
        <td><a href="<%=path %>/sdasdsa.jsp">购物</a></td>
       	
						<%Userinfo userinfo = (Userinfo)request.getSession().getAttribute("userinfo");
						if(userinfo==null)	
						{
						%>
						<a href="<%=path %>/userinfo/reg.jsp" class="loginButton"><span>注册</span></a>
						<a href="<%=path %>/userinfo/login.jsp" class="regButton"><span>登录</span></a>
						<%}else{%>
						<a href="<%=path%>/UserinfoController?action=show&id=<%=userinfo.getId()%>" class="regButton">个人中心</a>
						<%} %>
						
      </tr>
    </div>
    <a id="menu-toggle" href="#" class=" ">&#9776;</a> </div>
</nav>
</body>
</html>
<link rel="stylesheet" href="/Travel/css/style_b.css?1121">
<link rel="stylesheet" href="/Travel/css/prettify.css">
<script src="/Travel/js/jquery.min.js"></script> 
<script src="/Travel/js/jquery.scrollTo-1.4.3.1.js" type="text/javascript"></script>
<script type="text/javascript" src="/Travel/js/prettify/prettify.js"></script> 
<script src="/Travel/js/layout.js"></script>
<script src="/Travel/js/jquery.localscroll-1.2.7.js" type="text/javascript"></script>
<script src="/Travel/js/jquery.scrollTo-1.4.3.1.js" type="text/javascript"></script>
<script src="/Travel/js/jquery.min.js"></script>